home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat3 / Tk / setcmodel.z / setcmodel
Text File  |  1998-10-30  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4. TTTTkkkk____SSSSeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll((((3333TTTTkkkk))))                                    TTTTkkkk____SSSSeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll((((3333TTTTkkkk))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      Tk_SetColorModel, Tk_GetColorModel - access color model for screen
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<ttttkkkk....hhhh>>>>
  13.  
  14.      TTTTkkkk____SSSSeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll(_t_k_w_i_n, _m_o_d_e_l))))
  15.  
  16.      Tk_ColorModel
  17.      TTTTkkkk____GGGGeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll(_t_k_w_i_n))))
  18.  
  19. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  20.      Tk_Window       _t_k_w_i_n   (in)      Token for window.
  21.  
  22.      Tk_ColorModel   _m_o_d_e_l   (in)      New model to use for _w_i_n_d_o_w's screen.
  23.  
  24.  
  25. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  26.      These procedures allow the color model for a screen to be read and
  27.      written.  See the documentation for the ttttkkkk ccccoooolllloooorrrrmmmmooooddddeeeellll command for details
  28.      on the color model and how it is used.  TTTTkkkk____SSSSeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll sets the color
  29.      model for the screen associated with _t_k_w_i_n to _m_o_d_e_l.  _M_o_d_e_l must be
  30.      either TTTTKKKK____CCCCOOOOLLLLOOOORRRR or TTTTKKKK____MMMMOOOONNNNOOOO.  In contrast to the ttttkkkk ccccoooolllloooorrrrmmmmooooddddeeeellll command,
  31.      there are no restrictions on the value passed to TTTTkkkk____SSSSeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll (you
  32.      can set the model to TTTTKKKK____CCCCOOOOLLLLOOOORRRR even if the screen only has one bit plane).
  33.      TTTTkkkk____GGGGeeeettttCCCCoooolllloooorrrrMMMMooooddddeeeellll returns the current color model for the screen
  34.      associated with _t_k_w_i_n.
  35.  
  36.  
  37. KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
  38.      color model, screen
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.